package org.aeon.gamechatnest.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 角色用户频道权限表
 *
 * @TableName role_user_channel
 */
@Data
public class RoleUserChannel implements Serializable {
    /**
     * 角色id
     */
    @TableId
    private Long roleId;

    /**
     * 文字频道id
     */
    private Long tcId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Serial
    private static final long serialVersionUID = 1L;
}
